package com.xjtu.platform.demander.toCsv.impl;

import com.xjtu.platform.demander.toCsv.ToCsvService;
import com.xjtu.platform.demander.toCsv.csvDto;
import com.xjtu.platform.demander.toCsv.dao.ToCsvDao;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Service
@Transactional
public class ToCsvServiceImpl implements ToCsvService {

    @Resource
    ToCsvDao toCsvDao;

    @Override
    public List<csvDto> getCsvDtoList(csvDto dto) {
        return toCsvDao.listCsvDto(dto);
    }
}
